package com.link2room.rodimus.facade;

import com.link2room.common.jpa.result.QueryResult;
import com.link2room.rodimus.dto.result.base.PointRuleDto;
import com.link2room.rodimus.dto.param.base.PointBaseParamDto;
import com.link2room.rodimus.dto.param.base.PointRuleBaseParamDto;
import com.link2room.rodimus.dto.result.base.PointCheckDto;

/**
 * Created by sss on 2017/4/18.
 */
public interface IPointFacadeService {
    QueryResult<PointRuleDto> getPointRules(PointRuleBaseParamDto pointRuleBaseParamDto) throws Exception;

    PointRuleDto getPonitRuleByPointRuleCode(PointRuleBaseParamDto pointRuleBaseParamDto)throws Exception;

    void usePoint(PointBaseParamDto pointBaseParamDto)throws Exception;

    void addPoint(PointBaseParamDto pointBaseParamDto)throws Exception;

    PointCheckDto checkPointUse(PointBaseParamDto pointBaseParamDto) throws Exception;

    void reservationPoint(PointBaseParamDto pointBaseParamDto)throws Exception;
}
